package com.right.near.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.right.near.business.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.right.near.business.model.ao.UserPageAO;
import com.right.near.business.model.vo.UserVO;
import com.right.near.business.model.vo.UserExcelVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 用户Mapper接口
 *
 * @author star
 * @since 2022-07-20
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    /**
     * 用户分页查询
     *
     * @param page 分页参数
     * @param ao   请求参数
     * @return Page<UserVO> 响应参数
     */
    Page<UserVO> queryUserPage(Page<UserVO> page, @Param("ao") UserPageAO ao);
}